﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BOSS.Domain.Products
{
    public class PurchaseItem : Entity<int>
    {
        /// <summary>
        /// 获取 / 设置 购买记录
        /// </summary>
        public virtual PurchaseRecord PurchaseRecord { get; set; }

        /// <summary>
        /// 获取 / 设置 购买的产品
        /// </summary>
        public virtual Product Product { get; set; }

        /// <summary>
        /// 获取 / 设置 赠送次数
        /// </summary>
        public virtual int DonatedCount { get; set; }

        /// <summary>
        /// 获取 / 设置 购买次数
        /// </summary>
        public virtual int ChargedCount { get; set; }
    }
}
